package com.shopping.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("订单明细实体类")
public class OrderItem {
    @ApiModelProperty("订单明细id")
    private Integer id;
    @ApiModelProperty("订单id")
    private Integer orderId;
    @ApiModelProperty("商品id")
    private Integer productId;
    @ApiModelProperty("数量")
    private Integer amount;
    @ApiModelProperty("商品名称")
    private String productName;
    @ApiModelProperty("商品规格名称")
    private String specName;
    @ApiModelProperty("实付金额")
    private Double price;
    @ApiModelProperty("订单明细状态")
    private String status;
    @ApiModelProperty("订单创建时间")
    private String createTime;
    @ApiModelProperty("发货时间")
    private String sendTime;
    @ApiModelProperty("收货时间")
    private String receiptTime;

}
